@font-face {
  font-family: 'PingFang SC';
  src: url('https://kyan.oss-cn-beijing.aliyuncs.com/c2b/fontSize/PingFang.ttf');
}

body {
  --gray: #888;
  --grey: #888;
}

.text-1-line {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  width: 100%;
  text-overflow: ellipsis;
}

.text-2-line {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

button::after {
  border: none;
}

.fw500 {
  font-weight: 500;
}

.fw400 {
  font-weight: 400;
}

.fw700 {
  font-weight: 700;
}

.text-br {
  white-space: pre-wrap;
}

// 主题色
.color-theme,
.text-theme {
  color: #EC1638 !important;
}

.color-theme-bg {
  background: #EC1638 !important;
}

.color-theme-border {
  border: 2rpx solid #EC1638 !important;
}

// 活动色
.color-activity {
  color: #FE5D19 !important;
}

.color-activity-bg {
  background: #FE5D19 !important;
}

.color-activity-border {
  border: 2rpx solid #FE5D19 !important;
}

// 标题色
.color-title {
  color: rgba(0, 0, 0, 0.85) !important;
}

.color-title-bg {
  background: rgba(0, 0, 0, 0.85);
}

// 正文色
.color-main {
  color: rgba(0, 0, 0, 0.65) !important;
}

.color-main-bg {
  background: rgba(0, 0, 0, 0.65);
}

// 辅助色
.color-sub {
  color: rgba(0, 0, 0, 0.45) !important;
}

.color-sub-bg {
  background: rgba(0, 0, 0, 0.45);
}

// 禁用色
.color-disable {
  color: rgba(0, 0, 0, 0.2) !important;
}

.color-disable-bg {
  background: rgba(0, 0, 0, 0.2) !important;
}

// 白色
.color-white {
  color: #fff;
}

.color-white-bg {
  background: #fff !important;
}

.border-none {
  border: none !important;
}

.color-gray {
  color: #999;
}

.color-gray-bg {
  background: #f2f2f2 !important;
}

.color-gray-border {
  border: 2rpx solid rgba(0, 0, 0, 0.2) !important;
}

// 标题字体
.fz-title {
  font-size: 34rpx;
}

// 按钮字体
.fz-button {
  font-size: 32rpx;
}

// 正文字体
.fz-main {
  font-size: 28rpx;
}

// 辅助字体
.fz-sub {
  font-size: 24rpx;
}

// 标签字体
.fz-tag {
  font-size: 20rpx;
}

// 苹方
.PingFang {
  font-family: PingFang SC;
}
